<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>'left.jsp'</title>
    <meta http-equiv="Context-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script type="text/javascript" src="<%=basePath %>js/jquery-1.4.2.min.js"></script>
  <style type="text/css">
	body {
		margin:0px;
		padding:0px;
		font-size:12px;
		background-color:#1873aa;
		overflow:hidden;
		text-align:center;
	}
	#container {
		margin-left:6px;
		background-color:#FFFFFF;
		width:165px;
		height:500px;
	}
	#left1 {
		background-image:url(${pageContext.request.contextPath}/images/admin/left1.gif);
		width:165px;
		height:28px;
	}
	#left1 div {
		padding-top:5px;
		margin-left:-50px;
		color:#FFFFFF;
	}
	/*.left21 {
		margin-bottom:5px;
	}*/
	.left211 {
		margin-left:6px;
		background-image:url(${pageContext.request.contextPath}/images/admin/left.gif);
		width:151px;
		height:23px;
	}
	.left211 div {
		padding-top:3px;
		margin-left:-50px;
	}
	.left211 div a{
		color:#FFFFFF;
		text-decoration:none;
	}
	.left212 {
		margin-left:6px;
		border:1px solid #96d6e4;
		height:95px;
		width:149px;
		margin-bottom:5px;
	}
	.left212 ul {
		margin-top:5px;
		list-style-type:none;
		list-style-image:url(${pageContext.request.contextPath}/images/admin/left2.gif);
	}
	.left212 ul li {
		margin-top:5px;
		margin-left:-93px;
	}
	.left212 ul li a{
		text-decoration:none;
		color:#033d61;
	}
	.left212 ul li a:hover{
		font-size:13px;
	}
	</style>
	<script type="text/javascript">
	<%--
	function hiddenDiv(div)
	{
		div.style.display = (div.style.display == 'none'?'block':'none');
	}
	--%>
	$(function(){
		$(".left211").each(function(){
			$(this).click(function(){
				$(this).next().toggle(500);
			});
		});
	});
	</script>
  </head>
<body>
	<div id="container">
		<div id="left1">
			<div>菜单管理</div>
		</div>
		<div id="left2">
			<div class="left21">
				<div class="left211">
					<div><a href="javascript:void(0);">功能操作</a></div>
				</div>
				<div class="left212" id="left212">
					<ul>
						<li><a href="userAction!findAll?page=1" target="main">查看所有用户</a></li>
						<li><a href="messageAction!findAll?page=1" target="main">查看所有评论</a></li>
						<li><a href="pictureAction!findInfoAll?page=1" target="_blank">查看所有图片</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
